
include std/unittest.e
include qt/core.e as qt
include std/types.e

include qt/zlib.e

--~ test_equal( "zlibVersion()","1.2.3" ,zlibVersion() )
test_equal( "zlibVersion()",1 ,compare(zlibVersion(), "1.2.1")>=0 )

gzfile fh = gzopen( "z.zip","wb")
test_equal( "gzwrite()", 5, gzwrite(fh,"1.2.2") )
gzclose(fh)
